package com.sasis.webapp.form;

import java.util.Date;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class ProcessListForm extends ActionForm{
	//private String[] applicationInstanceId =null;

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String participant = "";
	private String priorityVal = "";
	private String state = "";
	private String activityInstanceId = "";
	private String processInstanceId = "";
	private Date createTime = null;
	private String operFlag = "";
	private String name = "";
	private String id  = "";

//	private String name = "";
//
//	private String password = "";

	/*
	 * Generated Methods
	 */

	public String getParticipant() {
		return participant;
	}

	public void setParticipant(String participant) {
		this.participant = participant;
	}

	public String getPriorityVal() {
		return priorityVal;
	}

	public void setPriorityVal(String priorityVal) {
		this.priorityVal = priorityVal;
	}

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
//		id = new String[50];
//		applicationInstanceId= new String[10];
		System.out.println("------------------->>>>111111111111111");
	}

	public String getState() {
//		System.out.println("------------------->>>0000"+operFlag);
		return state;
	}

	public void setState(String state) {
		this.state = state;
//		System.out.println("------------------->>>>11111"+operFlag);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getActivityInstanceId() {
		return activityInstanceId;
	}

	public void setActivityInstanceId(String activityInstanceId) {
		this.activityInstanceId = activityInstanceId;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public String getOperFlag() {
		return operFlag;
	}

	public void setOperFlag(String operFlag) {
		this.operFlag = operFlag;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
